package com.zjg.service.iface;

import java.io.InputStream;
import java.util.List;

import com.zjg.bean.User;

public interface UserService {
			public boolean Login(String name,String password);
			public User setUserHobby(User user);
			public List<User> getUserMessage();
			public boolean deleteUsers(String ids);
			public boolean EditUser(User user) ;
			public User getUser(String name);
			public boolean changestate(String name,String ip,String state);
			public InputStream getHeadIcon(int id);
			public User getUserById(int id);
			public List<User> getFriendsById(int id);
			public void addFriend(int id,int fid);
}
